package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 报警规则定时任务
 *
 * @Author haoye
 * @Date 2025/10/28 15:42
 */
@Slf4j
@Component
public class AlertRuleJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    public void alertRuleFilter() {
        log.info("[报警规则-定时任务]执行开始");
        alertRuleService.alertRuleFilter();
        log.info("[报警规则-定时任务]执行完毕");
    }
}
